package com.myzl.coal.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.myzl.common.annotation.Excel;
import com.myzl.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 设备配置记录对象 t_device_config
 *
 * @author myzl
 * @date 2022-09-01
 */
@TableName("t_device_config")
@Data
public class DeviceConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 设备id */
    @Excel(name = "设备id")
    private Integer deviceId;

    /** 带速 */
    @Excel(name = "带速")
    private String speed;

    /** 密度 */
    @Excel(name = "密度")
    private String density;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

}
